<div class="container">
	<div class="tabbable tabs-left" id="admin_bar">
		<%= render 'shared/admin_bar'%>
		<div class="tab-content">
			<h1> <%= t('them_nhan_vien')%> </h1>
			<div>
				<%= form_tag url_for :action => "tao_moi", :id => 'dang_nhap' do %>
				<% if flash.now[:loi].present? %>
				<p class="alert alert-error input-xlarge">
					<%= flash.now[:loi]%>
				</p>
				<% end %>
				<% if flash.now[:thanh_cong].present? %>
				<p class="alert alert-success input-xlarge">
					<%= flash.now[:thanh_cong]%>
				</p>
				<% end %>
				<p>
					<%= label_tag :email, t('email') %>
					<%= text_field_tag :email, params[:email], :class=>"input-xlarge" %>
					<% if flash.now[:loi].present? %>
					<span class="help-block"><%= t 'email_phai_hop_le_va_chua_dang_ki'%></span>
					<% end %>
				</p>
				<p>
					<%= label_tag :ten_hien_thi, t('ten_hien_thi') %>
					<%= text_field_tag :ten_hien_thi, params[:ten_hien_thi], :class=>"input-xlarge" %>
					<% if flash.now[:loi].present? %>
					<span class="help-block"><%= t 'ten_hien_thi_co_do_dai_tu_4_den_40'%></span>
					<% end %>
				</p>
				<p>
					<!-- <label>
						<%= check_box_tag :is_xu_ly_don_hang, "1"%> <span><%= t 'xu_ly_don_hang'%></span>
					</label> -->
				</p>
				<p>
					<%= submit_tag t('them_nhan_vien'), :class=>"btn btn-primary" %>
				</p>
				<% end %>
			</div>
		</div>
	</div>
</div>
